﻿/**
* File: XmglxmxxkdAddModel.cs
* Author: 汪杰
* Create Time:2025/3/6 14:29:58
* Email:15200358008@139.com
* 代码由TMCodeGenerator自动生成
**/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using JSLCloud.Models;
using JSLCloud.Attributes;
using JSLCloud.DBModel;

namespace JSLCloud.App.Models.Xmglxmxxkd
{
    /// <summary>
    /// xm_gl_xmxxkd Add Model
    /// </summary>
    [UseAutoMapper(typeof(XmglxmxxkdDbModel))]
    public class XmglxmxxkdAddModel
    {
        /// <summary>
        /// ID
        /// </summary>
        [Required]
        public new int ID { get; set; }
        /// <summary>
        /// 创建人ID
        /// </summary>
        public int? Createid { get; set; }
        /// <summary>
        /// 创建人姓名
        /// </summary>
        [StringLength(maximumLength:50)]
        public string Createname { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? Createtime { get; set; }
        /// <summary>
        /// 删除标识 0未删除 1已删除
        /// </summary>
        [Required]
        public int Deleteflag { get; set; }
        /// <summary>
        /// 项目ID
        /// </summary>
        [Required]
        public int Xmid { get; set; }
        /// <summary>
        /// 快递号
        /// </summary>
        [Required]
        [StringLength(maximumLength:50)]
        public string Kdh { get; set; }
        /// <summary>
        /// 快递公司
        /// </summary>
        [StringLength(maximumLength:100)]
        public string Kdgs { get; set; }
        /// <summary>
        /// 发件人
        /// </summary>
        [Required]
        [StringLength(maximumLength:20)]
        public string Fjr { get; set; }
        /// <summary>
        /// 发件时间
        /// </summary>
        [Required]
        public DateTime Fjsj { get; set; }
        /// <summary>
        /// 收件人
        /// </summary>
        [Required]
        [StringLength(maximumLength:20)]
        public string Sjr { get; set; }
        /// <summary>
        /// 收件人电话
        /// </summary>
        [StringLength(maximumLength:20)]
        public string Sjrdh { get; set; }
        /// <summary>
        /// 收件地址
        /// </summary>
        [Required]
        [StringLength(maximumLength:200)]
        public string Sjdz { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Bz { get; set; }
    }
}
